package com.example.base.http;


public class ResponseData<T> {
    private int code;
    private String msg;
    private Boolean success;
    private T obj;

    public Boolean isSuccess() {
        return success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getResult() {
        return obj;
    }

    public void setResult(T result) {
        this.obj = result;
    }

    public String getMessage() {
        return msg;
    }

    public void setMessage(String message) {
        this.msg = message;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean message) {
        this.success = success;
    }

}
